@import "compass/css3";

@import url(http://fonts.googleapis.com/css?family=Oswald);
@import url(http://fonts.googleapis.com/css?family=Cabin);

* {
  box-sizing: border-box;
}
body {
  padding: 1rem 3rem;
  font-family: 'Cabin', sans-serif;
  line-height: 1.4;
  min-width: 925px;
}
a {
  text-decoration: none;
}

.main-navigation {
  overflow: hidden;
  position: relative;
  padding: 0 0 0 1rem;
  ul {
    list-style: none;
    padding: 0;
  }
  li {
    float: left;
    width: 12rem;
    height: 5rem;
    margin: 0 0 0 -1rem;
    position: relative;
    &.active {
      z-index: 6; 
    }
  }
  a {
    position: relative;
    display: inline-block;
    color: white;
    width: 100%;
    height: 100%;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 1.4rem;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  }
  svg {
    width: 120%;
    height: 100%;
    // for tab shadows
    // also screws up Firefox
    // filter: url(#shadow);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
  }
  span {
    position: relative;
    padding: 1rem 0 0 3.3rem;
    z-index: 2;
    display: inline-block;
    width: 100%;
    height: 100%;
  }
  .tab-1 {
    z-index: 4;
    svg {
      fill: url(#tab-1-bg); 
    }
  }
  .tab-2 {
    z-index: 3;
    svg {
      fill: url(#tab-2-bg); 
    }
  }
  .tab-3 {
    z-index: 2;
    svg {
      fill: url(#tab-3-bg);
    }
  }
  .tab-4 {
    z-index: 1;
    svg {
      fill: url(#tab-4-bg);
    }
  }
/*  &::after {
    content: "";
    position: absolute;
    bottom: 16px;
    left: 0;
    width: 798px;
    height: 12px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
    z-index: 5;
  }*/
}

.main-content {
  position: relative;
  z-index: 10;
  background: rgba(118, 160, 192, 1.0);
  margin: -1.6rem 0 0 0;
  padding: 3rem;
  border-radius: 15px;
  border-top-left-radius: 0;
}

.article {
  background: white;
  padding: 5rem;
  border-radius: 8px;
  h2 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 3rem;
    color: rgba(118, 160, 192, 1.0);
    margin: 0 0 0.5rem 0;
  }
}